package com.spring.demo.core.dao;

import java.util.List;

/**
 * base dao
 * 
 * @author sean
 * 
 */
public interface HibernateBaseDao<T> {

	T findOne(Long id);

	List<T> findAll();

	void save(T t);

	T update(T t);

	void delete(Long id);

}
